package com.gs.core.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * ClassName: UserModel 
 * @Description: 用户实体
 * @author 汪品文
 * @date 2018年8月22日下午2:58:09
 */
@Entity
@Table(name="t_user")
public class UserModel extends BaseModel{

	private static final long serialVersionUID = 4897115135095495626L;

	@Column(name="name" ,length=50)
	private String name;
	
	@Column(name="phone" , unique= true,length=20)
	private String phone;
	
	@Column(name="pass",length=50)
	private String password;
	
	@Column(name="email",length=50)
	private String email;
	
	@Column(name="remark")
	private String remark;
	/**
	 * 用户图像
	 */
	@Column(name="head_img" ,length=20)
	private String headImg;
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getHeadImg() {
		return headImg;
	}

	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}

}
